Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/ble/src/commonMain/kotlin/org/meshtastic/core/ble/BleDevice.kt f07624be882e679affc02931dc75e8cb1594de18 (f07624be) Text, 1.32 KB

T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.ble

Tff7b72import T7ee787kotlinx.coroutines.flow.StateFlow

T8b949e/** Represents a BLE device. */
Tff7b72interface T56d364BleDevice Tb4b4b4{
T8b949e/** The device's name. */
Tff7b72val Te6edf3nameTb4b4b4: Tffa657String?

T8b949e/** The device's address. */
Tff7b72val Te6edf3addressTb4b4b4: Tffa657String

T8b949e/** The current connection state of the device. */
Tff7b72val Te6edf3stateTb4b4b4: Te6edf3StateFlowTff7b72<Te6edf3BleConnectionStateTff7b72>

T8b949e/** Whether the device is bonded. */
Tff7b72val Te6edf3isBondedTb4b4b4: Tffa657Boolean

T8b949e/** Whether the device is currently connected. */
Tff7b72val Te6edf3isConnectedTb4b4b4: Tffa657Boolean

T8b949e/** Reads the current RSSI value. */
Tff7b72suspend Tff7b72fun Td2a8ffreadRssiTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Int

T8b949e/** Bond the device. */
Tff7b72suspend Tff7b72fun Td2a8ffbondTb4b4b4(Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.18s